Skip to content

PDFPageSize.GetPredefinedPageSize Method

GetPredefinedPageSize(Double,Double)

Gets the predefined page size that matches the given dimensions.

C#
public static PDFPageSize GetPredefinedPageSize(double width, double height)

Parameters

width Double

Width.

height Double

Height.